<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/5/3
  Time: 17:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="../../common/web_top.jsp" %>
<title>复核到账</title>
<div ng-include="finance" class="includeStyle ">

    <div class="bgSortScroll">
        <!-- ngIf: HbHr.hr152 -->
        <div id="main-content"  class="public-bgContent " ng-show="financeShow._default" ng-init="load()" ng-if="HbHr.hr152">
            <!--表单搜索-->
            <div class="public-bgDate">
                <div class="se-re">
                    <select id="time_type" class="ng-pristine ng-untouched ng-valid ng-empty">
                        <option value="" selected="selected">时间类型</option>
                        <option value="1">提交时间</option>
                        <option value="2">到账日期</option>
                    </select>
                    <span class="se-po"></span>
                </div>
                <span>
            <input type="text" autocomplete="off" id="start_time" ng-model="param.start_time" ng-focus="remHight()"
                   ng-class="{'error':redErr.dateTime}" placeholder="开始时间"
                   class="ng-pristine ng-untouched ng-valid ng-empty datepicker">
            <i class="iconfont icon-riqi"></i>
        </span>
                <em>
                    ~
                </em>
                <span>
            <input type="text" autocomplete="off" id="end_time" ng-model="param.end_time" ng-focus="remHight()"
                   ng-class="{'error':redErr.dateTime}" placeholder="结束时间"
                   class="ng-pristine ng-untouched ng-valid ng-empty datepicker">
            <i class="iconfont icon-riqi"></i>
        </span>
                <div class="se-re">
                    <select id="seleNames" ng-model="param.type" ng-class="{'error':redErr.seleName}"
                            ng-focus="remHight()" ng-change="changeName()"
                            class="ng-pristine ng-untouched ng-valid ng-empty">
                        <option value="" selected="selected">选择字段</option>
                        <option value="1">借款编号</option>
                        <option value="2">客户姓名</option>
                        <option value="3">手机号码</option>
                        <option value="4">身份证号码</option>
                        <option value="5">业务员姓名</option>
                        <!-- <option value="11">提交人</option> -->
                    </select>
                    <span class="se-po"></span>
                </div>
                <span>
            <input type="text" autocomplete="off" id="inputNames" placeholder="请输入关键字" ng-focus="remHight()" ng-model="param.name"
                   class="ng-pristine ng-untouched ng-valid ng-empty">
        </span>
                <div class="se-re">
                    <select id="at_id"
                            class="headData_select ng-pristine ng-untouched ng-valid ng-empty">
                    </select>
                    <span class="se-po"></span>
                </div>
                <div class="se-re">
                    <select id="loan_way" ng-model="param.loan_way" class="ng-pristine ng-untouched ng-valid ng-empty">
                        <option value="" selected="selected">贷款方式</option>
                    </select>
                    <script type="text/x-handlebars-template" id="loanMethod_list_tpl">
                        {{#each content}}
                        <option value="{{id}}">{{name}}</option>
                        {{/each}}
                    </script>
                    <span class="se-po"></span>
                </div>
                <div class="se-re">
                    <select id="product_choose_list" class="ng-pristine ng-untouched ng-valid ng-empty">
                        <option value="">选择产品</option>
                        <%--<option value="1">按揭短拆</option>
                        <option value="2">红本抵押</option>
                        <option value="3">红本质押</option>--%>
                    </select>
                    <span class="se-po"></span>
                </div>
                <!-- <div class="se-re">
                    <select ng-options="b.id as b.name for b in buMen.content" ng-model="param.dptId" ng-change="seltt()">
                        <option value="">部门</option>
                    </select>
                    <span class="se-po"></span>
                </div>
                <div class="se-re">
                    <select ng-options="c.id as c.realName for c in zhiWei.content" ng-model="param.roleId">
                        <option value="">业务员</option>
                    </select>
                    <span class="se-po"></span>
                </div>
                <div class="se-re">
                    <select ng-model="data.sId" ng-options="i.id as i.name for i in orderState">
                        <option value="">状态</option>
                    </select>
                    <span class="se-po"></span>
                </div> -->
                <button id="sousuo">
                    <i class="iconfont icon-sousuo"></i>
                </button>
            </div>
            <!--提示操作-->
                <div class="public-bghint">
                    <span ng-click="show('caozuo')" style="cursor: pointer;">提示操作</span>
                    <i class="iconfont icon-icon-copy-copy"></i>
                    <span class="calNum">筛选<span class=" result">0</span>条结果</span>
                </div>
                <ul class="public-ulList" ng-show="loanLaterShow.caozuo">
                    <li>显示拥有该栏目管理权限的数据</li>
                    <li>拥有权限的管理员会显示对应的操作按钮；</li>
                    <li>显示所有需要复查的记录</li>
                </ul>
                <div style="height: 20px;"></div>
                <div class="table-scroll">
                    <!--tabel 列表-->
                    <table class="table public-table PoInput">
                        <thead>
                        <tr>
                            <td>全选</td>
                            <td>提交时间</td>
                            <td>转款人</td>
                            <td>客户姓名</td>
                            <td>收款期数</td>
                            <td>计划收款金额</td>
                            <td>实际收款</td>
                            <td>到账日期</td>
                            <td>业务员</td>
                            <td>提交人</td>
                            <td>状态</td>
                            <td>操作</td>
                        </tr>
                        </thead>
                        <tbody id="checkAccount_content">

                        </tbody>
                        <script type="x-handlebars-template" id="checkAccount_content_tpl">

                            {{#if content.content.list}}

                            {{#each content.content.list}}
                            <tr ng-repeat="i in data.content.list" ng-click="F.tabClick($event)"
                                class="table-tr-hover ">
                                <td>
                                    <input type="checkbox" name="ch_id" value="{{payid}}"/>
                                </td>
                               <%-- <td><input type="checkbox" name="ch_id" value="932"></td>--%>
                                <td class="">{{add_time}}</td>
                                <td class="">{{receipt_number}}</td>
                                <td class="">{{union_name}}</td>
                                <td class="">{{periods}}</td>
                                <td class="">￥{{#thounsandBit plan_payment_money}}{{/thounsandBit}}</td>
                                <td class="">￥{{#thounsandBit real_payment_money}}{{/thounsandBit}}</td>
                                <td class="">{{real_time}}</td>
                                <td class="">{{admin_name}}</td>
                                <td class="">{{add_admin}}</td>
                                <td class="">待复核</td>
                                <td>
                                    <div class="se-re sel-blue">
                                        <select ng-click="F.stopPropagation($event)"
                                                id="toOrder-select" data-payid="{{payid}}" data-id="{{id}}" data-productid="{{product_id}}"
                                                data-orderid="{{id}}" data-at_name="{{at_name}}"
                                                class="operations tabHint backlist932 ng-not-empty" ng-model="selectType.default"
                                                ng-change="F.selectQuery('backlist932')">
                                            <option value="-1" selected="selected">选择操作</option>
                                            {{#each ../fourthMenus}}
                                            <option value="{{key}}">{{name}}</option>
                                            {{/each}}
                                        </select>
                                        <span class="se-po-blue"></span>
                                    </div>

                                    <button class="operations_record tabHint btnQuery415" id="{{id}}">
                                        操作记录
                                    </button>
                                </td>
                            </tr>
                            {{/each}}
                            {{else}}
                            <!-- ngRepeat: i in data.content.list -->
                            <!-- ngIf: data.content.list.length ==0 -->
                            <tr ng-if="data.content.list.length ==0" class="">
                                <td colspan="16">暂时找不到数据</td>
                            </tr><!-- end ngIf: data.content.list.length ==0 -->
                            {{/if}}
                        </script>

                        <tfoot class="public-botPage">
                        <tr>
                            <td>
                                <!-- 全选反选  -->
                                <input type="checkbox" name="ch_id_all">
                            </td>
                            <td colspan="12">
                                <div class="public-botPage-left">
                            <span>
                                <span>全选</span>
                            </span>
                                    <div class="se-re">
                                        <select class="tabHint backArr ng-pristine ng-untouched ng-valid ng-not-empty"
                                                ng-model="selectType.default"
                                                ng-change="F.selectQuery('backArr','ch_id')">
                                            <option value="-1" selected="selected">批量操作</option>

                                            <option value="确认到账" path="finance" params="verifyArriv"
                                                    class="">确认到账
                                            </option>
                                        </select>
                                        <span class="se-po"></span>
                                    </div>
                                </div>
                                <div class="checkCount-page-container page-container" style="float: right; padding: 15px 0;"></div>
                            </td>
                        </tr>
                        </tfoot>
                    </table>
                    <!--底部操作-->
                </div>
        </div><!-- end ngIf: HbHr.hr152 -->

        <div id="toOrder-content" style="display: none">
            <%@include file="toOrder.jsp"%>
        </div>
    </div>

</div>

<%--确认到账弹窗--%>
<div class="winBox getLoan_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box --><div class="winBox1 " ng-include="box"><!-- 说明：提交评审弹窗 -->
    <div class="winBox5 ">
        <div>
            <div class="headerBox">
                <span class="headerSpan " ng-if="recheckLoan==2">确认到账</span><!-- end ngIf: recheckLoan==2 -->
                <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
            </div>
            <!-- 内容 -->
            <div class="deleBox">
                <!-- 底部 -->
                <div class="deleteTit">
                    <span class="first"><i class="iconfont icon-tips2"></i></span>
                    <span ng-if="recheckLoan==1 || recheckLoan==2" class="">您确定要已到账？</span><!-- end ngIf: recheckLoan==1 || recheckLoan==2 -->
                </div>
                <div class="deleFooter" style="padding: 0;">
                    <div class="deleBtn">
                        <button ng-click="btn()" id="sureGetLoan" style="margin: 0;margin-bottom: 30px;margin-left: 68px;">确认提交</button>
                    </div>
                </div>
            </div>
        </div>
    </div></div>
</div>


<div class="winBox putLoan_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box"><!-- 说明 -->

        <div class="winBox2 ">
            <div class="putloan">
                <!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan">提交收款</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <div class="resultBox">
                    <div class="centerBox" style="max-height: 696px;">
                        <div class="resultPadd">
                            <table class="resultTab">
                                <tbody id="putLoan_list"></tbody>
                                <!-- 本期期数-->
                                <script id="putLoan_list_tpl" type="x-handlebars-template">

                                    <tr>
                                        <td><span style="color: #ec0a0b;">*</span>收款归类</td>
                                        <td class="tdSelect">
                                            <div class="se-re">
                                                <select id="paymentSort_list">

                                                </select>

                                                <span class="se-po se-box"></span>
                                            </div>
                                            <span class="D-right-al">
									<i class="small-i" style="display:none">存在违约金</i>
								</span>
                                        </td>
                                    </tr>

                                    <tr id="thisTerm">
                                        <td><span style="color: #ec0a0b;">*</span>本期期数</td>
                                        <td class="tdWei">
                                            <span class="loan-yellow periods">{{#IF_EQ ps_id 7}}{{funMapLoan.periods}}{{else}}{{funPlan.periods}}{{/IF_EQ}}</span>
                                            <span class="loan-remind">
									<div class="small-i plan_time">当前笔款计划日期：{{funPlan.repayment_time}}</div>
									<div class="small-i  {{#IF_NEQ funMap.repayment_time newData}}small-i-red{{/IF_NEQ}}"
                                         id="small_333">本地日期：{{newData}}</div>
								</span>
                                        </td>
                                    </tr>
                                    <!-- 收款归类 -->

                                    <tr id="collectByDays" style="display: none;">
                                        <td><span style="color: #ec0a0b;">*</span>借款期限</td>
                                        <td class="tdWei">
                                            <label>
                                                <input type="text" id="days"/>
                                                <span>天</span>
                                            </label>
                                            <span class="loan-remind">
                                                <div class="small-i" id="payed" style="display: none;">已还时间：<span id="payedDays"></span>天</div>
                                                <div class="small-i small-i-red" id="paying" style="display: none;">未还时间：<span id="payingDays"></span>天</div>
								            </span>
                                        </td>
                                    </tr>

                                    <!-- 本期收款 -->
                                    <tr id="thisCollect">
                                        <td><span style="color: #ec0a0b;"></span>本期收款</td>
                                        <td class="tdWei">
								<span id="plan_payment_money" class="loan-yellow ">
                                    {{#IF_EQ ps_id 5}}
                                        ￥{{#thounsandBit maps.sumMoney}}{{/thounsandBit}}
                                    {{else}}
                                        {{#expression ps_id '==' 7 '&&' loan_type '=='1}}
                                            ￥{{#add funMapLoan.is_moth_repayment_rate funMapLoan.is_month_repayment_money funMapLoan.is_comprehensive}}{{/add}}
                                        {{else}}
                                            ￥{{#thounsandBit plan_payment_money}}{{/thounsandBit}}
                                        {{/expression}}
                                    {{/IF_EQ}}
								</span>

                                        </td>
                                    </tr>

                                    <!-- 收款明细 -->
                                    <tr class="collectDetail">
                                        <td rowspan="2"><span style="color: #ec0a0b;">*</span>收款明细</td>
                                        <!-- ngIf: changeEle.qishu -->
                                        <td id="qishu" class="tdSelect " {{#IF_NEQ ps_id 5}}{{else}}style="display: none" {{/IF_NEQ}}>
                                        <div class="se-re">
                                            <select id="fund_plan_id">
                                                {{#each funPlanlList}}
                                                <option value="{{id}}">{{periods}}</option>
                                                {{/each}}
                                            </select>
                                            <span class="se-po se-box"></span>
                                        </div>
                                        </td>
                                        <!-- end ngIf: changeEle.qishu -->
                                    </tr>
                                    <tr class="collectDetail">
                                        <td class="tdWei tdRadio" style="background: #ffffff;">
								<span class="loan-Ii">
									<i id="notbeijin" class="small-i" ng-if="!changeEle.benjin" {{#IF_NEQ ps_id
                                       5}}{{else}}style="display: none" {{/IF_NEQ}}>
										{{#IF_GT funPlan.is_month_repayment_money 0}}<span class="small-i"
                                                                                           ng-if="funMap.is_month_repayment_money>0">
											本金（￥{{#thounsandBit funPlan.is_month_repayment_money}}{{/thounsandBit}}元）
										</span>
                                        {{/IF_GT}}
                                        {{#IF_GT funPlan.is_moth_repayment_rate 0}}
										<span class="small-i" ng-if="funMap.is_moth_repayment_rate>0">
											月息（￥{{#thounsandBit funPlan.is_moth_repayment_rate}}{{/thounsandBit}}元）
										</span>
                                        {{/IF_GT}}
                                        {{#IF_GT funPlan.is_comprehensive 0}}
										<span class="small-i" ng-if="funMap.is_comprehensive>0">
											综合费用（￥{{#thounsandBit funPlan.is_comprehensive}}{{/thounsandBit}}元）
										</span>
                                        {{/IF_GT}}
                                    </i>
                                    <i id="beijin" class="small-i" {{#IF_EQ ps_id 5}}{{else}}style="display: none" {{/IF_EQ}}>
										<span class="small-i" ng-if="data.content.maps.sumMoney>=0">
											本金（￥{{#thounsandBit maps.sumMoney}}{{/thounsandBit}}元）
										</span>
                                    </i>
                                    <i id="zonghe" class="small-i" {{#IF_EQ ps_id 7}}{{else}}style="display: none" {{/IF_EQ}}>
										<span class="small-i" ng-if="data.content.maps.sumMoney>=0">
                                            综合费用（{{#IF_EQ loan_type 1}}
                                            ￥{{#add funMapLoan.is_moth_repayment_rate funMapLoan.is_month_repayment_money funMapLoan.is_comprehensive}}{{/add}}
                                            {{else}}
                                            ￥{{#add funMap.is_moth_repayment_rate funMap.is_month_repayment_money funMap.is_comprehensive}}{{/add}}
                                            {{/IF_EQ}}元）
										</span>
                                    </i>
                                    <i id="collectByDaysDetail" class="small-i" {{#IF_EQ ps_id 9}}{{else}}style="display: none" {{/IF_EQ}}>
										<span class="small-i" id="benjin">
                                            本金（￥<span style="margin-right: 0" id="daysApplyMoney"></span>元）
										</span>
                                        <span class="small-i">
                                            利息（￥<span style="margin-right: 0" id="daysApplyInterest"></span>元）
										</span>
                                    </i>
								</span>
                                        </td>
                                    </tr>
                                    <!--押金-->
                                    <tr class="more-opera" id="deposit" {{#IF_EQ period_num
                                        sum_name}}{{else}}style="display:none"
                                        {{/IF_EQ}}{{#IF_EQ ps_id 5}}{{#IF_GT sum 0}}{{else}}style="display:none"{{/IF_GT}}{{/IF_EQ}}>
                                    <td rowspan="2">押金</td>
                                    <td class="tdSelect">
                                        <i>
                                            <input type="checkbox" id="depositReturn"/>
                                            <em>押金转本金</em><span>{{#if sum}}（￥{{#thounsandBit sum}}{{/thounsandBit}}元）{{else}}（￥0元）{{/if}}</span>
                                        </i>
                                    </td>
                                    </tr>
                                    <tr class="more-opera" id="guarantee" {{#IF_EQ period_num
                                        sum_name}}{{else}}style="display: none;"
                                        {{/IF_EQ}}{{#IF_EQ ps_id 5}}{{#IF_GT sum 0}}{{else}}style="display: none"{{/IF_GT}}{{/IF_EQ}}>
                                    <td class="tdWei tdRadio" style="background: #ffffff;">
								<span class="loan-Ii">
									<i class="small-i">
										<span class="small-i">
											保证金（￥{{#thounsandBit depositOne}}{{/thounsandBit}}元）
										</span>
									</i>
								</span>
                                    </td>
                                    </tr>
                                    <!-- 违约金 -->
                                    <%--{{#if funMap.penalty}}--%>
                                    <tr id="penalty" {{#IF_EQ ps_id
                                        5}}{{else}}style="display: none;" {{/IF_EQ}}>
                                    <td>违约金</td>
                                    <td class="tdWei">
                                        <label>
                                            <input id="penalty_val" style="width: 148px" type="text"
                                                   value="{{funPlan.is_penalty}}" onlyInputNum="1">
                                        </label>
                                        <span ng-if="sum > 0">
								<input type="checkbox" id="Depositforbreach">
								<em>押金转违约金</em><span>{{#if sum}}（￥{{#thounsandBit sum}}{{/thounsandBit}}元）{{else}}（￥0元）{{/if}}</span>
							</span>
                                    </td>
                                    </tr>
                                    <%--{{/if}}--%>
                                    <!-- 滞纳金 -->
                                    <%--{{#if funMap.late_fee}}--%>
                                    <tr id="late_fee_need" class="esa" {{#IF_EQ ps_id 1}}
                                        {{#IF_EQ maps.s_id 18}}{{else}}style="display: none" {{/IF_EQ}}
                                    {{/IF_EQ}}
                                    {{#IF_EQ ps_id 4}}{{else}}style="display: none"{{/IF_EQ}}
                                    {{#IF_EQ ps_id 5}}{{else}}style="display: none"{{/IF_EQ}}>>
                                    <td>是否缴纳滞纳金</td>
                                    <td>
                                        <label>
                                            <input type="radio" name="isLate" value="1"/>需要
                                        </label>
                                        <label>
                                            <input type="radio" name="isLate" value="2"/>不需要
                                        </label>
                                    </td>
                                    </tr>
                                    <tr id="late_fee" style="display: none">
                                        <td>滞纳金</td>
                                        <td class="tdWei">
                                            <label>
                                                <input type="text" style="width: 148px" value="{{funPlan.is_late_fee}}"
                                                       id="late_fee_val" onlyInputNum="1">
                                            </label>
                                        </td>
                                    </tr>
                                    <%--{{/if}}--%>
                                    <tr class="esa isBenJin" style="display: none">
                                        <td><span style="color: #ec0a0b;">*</span>是否收取本金</td>
                                        <td>
                                            <label>
                                                <input type="radio" name="isBenJin" value="2"/>是
                                            </label>
                                            <label>
                                                <input type="radio" name="isBenJin" value="1"/>否
                                            </label>
                                        </td>
                                    </tr>
                                    <tr class="esa checkAccout">
                                        <td><span style="color: #ec0a0b;">*</span>复核到账</td>
                                        <td>
                                            <label>
                                                <input type="radio" name="isCheck" value="1"/>需要
                                            </label>
                                            <label>
                                                <input type="radio" name="isCheck" value="2"/>不需要
                                            </label>
                                        </td>
                                    </tr>
                                    <!--实际收款 -->
                                    <tr {{#IF_NEQ ps_id 2}}{{else}}style="display: none" ;{{/IF_NEQ}} id="gathering">
                                    <td><span style="color: #ec0a0b;">*</span>实际收款</td>
                                    <td class="tdWei">
                                        <label>
                                            <input type="text" id="real_payment_money"
                                            />
                                            <span>
										元
									</span>
                                        </label>
                                        <span class="loan-mind-al">
									<i class="small-i small-i-red" style="display:none" id="payment_money">输入的金额与实际计划收款金额不一致，请谨慎操作</i>
								</span>
                                    </td>
                                    </tr>

                                    <!--到账日期 -->
                                    <tr ng-show="changeEle.huaizhang" id="come">
                                        <td><span style="color: #ec0a0b;">*</span>到账日期</td>
                                        <td class="tdWei">
								<span class="put-l-input">
								<input
                                        type="text"
                                        class="real_time datepicker"
                                />
								<i class="iconfont icon-riqi"></i>
								</span>
                                        </td>
                                    </tr>

                                    <!--收据单号 -->
                                    <tr ng-if="changeEle.huaizhang" id="transfer">
                                        <td>转款人</td>
                                        <td class="tdWei">
                                            <label>
                                                <input style="width: 148px" type="text" id="transferMan"/>
                                            </label>
                                        </td>
                                    </tr>

                                    <!--转款方式 -->
                                    <tr ng-if="changeEle.huaizhang" id="transerWay">
                                        <td>转款方式</td>
                                        <td class="tdWei">
                                            <label>
                                                <input style="width: 148px" type="text" id="trans"/>
                                            </label>
                                        </td>
                                    </tr>
                                </script>

                                <script id="special_putLoan_list_tpl" type="x-handlebars-template">
                                    <tr>
                                        <td><span style="color: #ec0a0b;">*</span>收款归类</td>
                                        <td class="tdSelect">
                                            <div class="se-re">
                                                <select id="special_paymentSort_list">
                                                    <option value="1">综合费回款</option>
                                                    <option value="2">按天计息</option>
                                                </select>
                                            </div>
                                            <span class="loan-remind">
									<div class="small-i  {{#IF_NEQ map.repayment_time newData}}small-i-red{{/IF_NEQ}}"
                                         id="small_333">本地日期：{{newData}}</div></span>
                                            <span class="D-right-al">
									<i class="small-i" style="display:none">存在违约金</i>
								</span>
                                        </td>
                                    </tr>

                                    <tr class="special_term">
                                        <td><span style="color: #ec0a0b;">*</span>本期期数</td>
                                        <td class="tdWei">
                                            <span class="loan-yellow periods">{{map.periods}}</span>
                                            <span class="loan-remind">
									<div class="small-i plan_time">当前笔款计划日期：{{map.repayment_time}}</div>
									<div class="small-i  {{#IF_NEQ funMap.repayment_time newData}}small-i-red{{/IF_NEQ}}"
                                         id="small_333">本地日期：{{newData}}</div>
								</span>
                                        </td>
                                    </tr>

                                    <tr class="composive_gathering">
                                        <td><span style="color: #ec0a0b;"></span>本期收款</td>
                                        <td class="tdWei">
                                            <span id="plan_payment_money" class="loan-yellow ">
                                                        ￥{{#add map.is_moth_repayment_rate map.is_month_repayment_money map.is_comprehensive}}{{/add}}
                                            </span>
                                        </td>
                                    </tr>


                                    <!--到账日期 -->
                                    <tr ng-show="changeEle.huaizhang" class="special_come" style="display: none">
                                        <td><span style="color: #ec0a0b;">*</span>到账日期</td>
                                        <td class="tdWei">
								<span class="put-l-input">
								<input
                                        type="text"
                                        class="real_time datepicker"
                                />
								<i class="iconfont icon-riqi"></i>
								</span>
                                            <span class="loan-remind">
                                                <div class="small-i small-i-red">请选择日期计算本期收款</div></span>
                                        </td>
                                    </tr>

                                    <tr class="days" style="display: none">
                                        <td><span style="color: #ec0a0b;">*</span>借款天数</td>
                                        <%--<td class="tdWei">
                                            <span class="loan-yellow comprehensive_fee" {{#IF_NEQ ps_id 7}}style="display:none"{{/IF_NEQ}}>综合费收取</span>
                                            <span class="loan-yellow periods" {{#IF_EQ ps_id 7}}style="display:none"{{/IF_EQ}}>{{funPlanlList.[0].periods}}</span>
                                        </td>--%>
                                        <td><span class="day">{{days}}</span>天</td>
                                    </tr>
                                    <!-- 收款归类 -->


                                    <tr class="special_gathering" style="display: none">
                                        <td><span style="color: #ec0a0b;"></span>本期收款</td>
                                        <td class="tdWei">
                                            <span id="plan_payment_money" class="loan-yellow ">
                                                        ￥{{#add map.is_moth_repayment_rate map.is_month_repayment_money map.is_comprehensive}}{{/add}}
                                            </span>
                                        </td>
                                    </tr>

                                    <!-- 收款明细 -->
                                    <tr class="special_detail" style="display: none">
                                        <td><span style="color: #ec0a0b;">*</span>收款明细</td>
                                        <!-- ngIf: changeEle.qishu -->
                                        <td id="qishu"></td>
                                        <!-- end ngIf: changeEle.qishu -->
                                    </tr>

                                    <%--<tr class="composive_detail">
                                        <td rowspan="2"><span style="color: #ec0a0b;">*</span>收款明细</td>
                                        <!-- ngIf: changeEle.qishu -->
                                        <td id="qishu" class="tdSelect " {{#IF_NEQ ps_id
                                            5}}{{else}}style="display: none" {{/IF_NEQ}}>
                                        <div class="se-re">
                                            <select id="fund_plan_id">
                                                <option value="">第1期</option>
                                            </select>
                                            <span class="se-po se-box"></span>
                                        </div>
                                        </td>
                                        <!-- end ngIf: changeEle.qishu -->
                                    </tr>--%>

                                    <%--<tr class="composive_detail">
                                        <td class="tdWei tdRadio" style="background: #ffffff;">
								<span class="loan-Ii">
									<i id="notbeijin" class="small-i" ng-if="!changeEle.benjin">
										{{#IF_GT map.is_month_repayment_money 0}}<span class="small-i"
                                                                                       ng-if="funMap.is_month_repayment_money>0">
											本金（￥{{#thounsandBit funMap.is_month_repayment_money}}{{/thounsandBit}}元）
										</span>
                                        {{/IF_GT}}
                                        {{#IF_GT map.is_moth_repayment_rate 0}}
										<span class="small-i" ng-if="funMap.is_moth_repayment_rate>0">
											月息（￥{{#thounsandBit funMap.is_moth_repayment_rate}}{{/thounsandBit}}元）
										</span>
                                        {{/IF_GT}}
                                        {{#IF_GT map.is_comprehensive 0}}
										<span class="small-i" ng-if="funMap.is_comprehensive>0">
											综合费用（￥{{#thounsandBit funMap.is_comprehensive}}{{/thounsandBit}}元）
										</span>
                                        {{/IF_GT}}
                                        &lt;%&ndash;{{#IF_GT map.is_comprehensive 0}}&ndash;%&gt;
                                        <span class="small-i" ng-if="funMap.is_comprehensive>0">
                                            综合费用（￥{{#thounsandBit map.is_comprehensive}}{{/thounsandBit}}元）
                                        </span>
                                        &lt;%&ndash;{{/IF_GT}}&ndash;%&gt;
                                    </i>
								</span>
                                        </td>
                                    </tr>--%>

                                    <%--<tr class="special_days_detail">
                                        <td id="qishu" class="tdSelect ">
                                            <div class="se-re">
                                                <select id="fund_plan_id">
                                                    &lt;%&ndash;{{#each funPlanlList}}
                                                    <option value="{{id}}">{{periods}}</option>
                                                    {{/each}}&ndash;%&gt;
                                                    <option value="">第1期</option>
                                                </select>
                                                <span class="se-po se-box"></span>
                                            </div>
                                        </td>
                                    </tr>--%>


                                    <tr class="esa checkAccout">
                                        <td><span style="color: #ec0a0b;">*</span>复核到账</td>
                                        <td>
                                            <label>
                                                <input type="radio" name="isCheck" value="1"/>需要
                                            </label>
                                            <label>
                                                <input type="radio" name="isCheck" value="2"/>不需要
                                            </label>
                                        </td>
                                    </tr>

                                    <!--到账日期 -->
                                    <tr ng-show="changeEle.huaizhang" id="come">
                                        <td><span style="color: #ec0a0b;">*</span>到账日期</td>
                                        <td class="tdWei">
								<span class="put-l-input">
								<input
                                        type="text"
                                        class="real_time datepicker"
                                />
								<i class="iconfont icon-riqi"></i>
								</span>
                                        </td>
                                    </tr>

                                    <tr {{#IF_NEQ ps_id 2}}{{else}}style="display: none" ;{{/IF_NEQ}} id="gathering">
                                    <td><span style="color: #ec0a0b;">*</span>实际收款</td>
                                    <td class="tdWei">
                                        <label>
                                            <input type="text" id="real_payment_money"
                                            />
                                            <span>
										元
									</span>
                                        </label>
                                        <span class="loan-mind-al">
									<i class="small-i small-i-red" style="display:none" id="payment_money">输入的金额与实际计划收款金额不一致，请谨慎操作</i>
								</span>
                                    </td>
                                    </tr>


                                    <!--收据单号 -->
                                    <tr ng-if="changeEle.huaizhang" id="transfer">
                                        <td>转款人</td>
                                        <td class="tdWei">
                                            <label>
                                                <input style="width: 148px" type="text" id="transferMan"/>
                                            </label>
                                        </td>
                                    </tr>

                                    <!--转款方式 -->
                                    <tr ng-if="changeEle.huaizhang" id="transerWay">
                                        <td>转款方式</td>
                                        <td class="tdWei">
                                            <label>
                                                <input style="width: 148px" type="text" id="trans"/>
                                            </label>
                                        </td>
                                    </tr>
                                </script>

                                <script id="paymentSort_list_tpl" type="x-handlebars-template">
                                    {{#each this}}
                                    <option value="{{id}}" data-state="{{state}}">{{ps_name}}</option>
                                    {{/each}}
                                </script>

                            </table>
                            <!-- 底部 -->
                            <div class="deleFooter">
                                <div class="beizhu assBeizhu">备注</div>
                                <textarea id="putLoanRemarks" ng-model="param.remarks" data-tag="textLength"
                                          showtag="zishuxians"
                                          class="ng-pristine ng-untouched ng-valid ng-empty ng-valid-maxlength"></textarea>
                                <div class="deleBtn">
                                    <button id="surePutLoan" style="background: #E55A5B;" ng-click="btn()">确定提交</button>
                                </div>
                                <div class="zishu">
                                    <i id="zishuxians">200</i>字
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<%--取消收款弹窗--%>
<div class="winBox canPay_winBox">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box --><div class="winBox1 " ng-include="box"><!-- 说明：提交评审弹窗 -->
    <div class="winBox5 ">
        <div>
            <div class="headerBox">
                <!-- ngIf: recheckLoan==2 -->
                <!-- ngIf: recheckLoan==1 -->
                <!-- ngIf: recheckLoan==3 --><span class="headerSpan " ng-if="recheckLoan==3">取消收款</span><!-- end ngIf: recheckLoan==3 -->
                <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
            </div>
            <!-- 内容 -->
            <div class="deleBox">
                <!-- 底部 -->
                <div class="deleteTit">
                    <span class="first"><i class="iconfont icon-tips2"></i></span>
                    <!-- ngIf: recheckLoan==1 || recheckLoan==2 -->
                    <!-- ngIf: recheckLoan==3 --><span ng-if="recheckLoan==3" class="">您确定要取消收款？</span><!-- end ngIf: recheckLoan==3 -->
                </div>
                <div class="deleFooter" style="padding: 0;">
                    <div class="deleBtn">
                        <button class="sureCanPay" style="margin: 0;margin-bottom: 30px;margin-left: 68px;">确认提交</button>
                    </div>
                </div>
            </div>
        </div>
    </div></div>
</div>

<script type="text/x-handlebars-template" id="at_id_tpl">
    <option value="">分期</option>
    {{#each .}}
    <option value="{{id}}" data-num="{{num}}">{{atName}}</option>
    {{/each}}
</script>
<script type="text/javascript" src="static/js/page/finance/check_account/check_account.js?_v=190102162154"></script>

<%@include file="../../common/web_bottom.jsp" %>
